package com.mocha.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * 自定义拦截器
 * @author duanqf
 */
public class MyInterceptor implements Interceptor {

	@Override
	public void intercept(Invocation inv) {
//		String action = inv.getActionKey();
//		System.out.println("请求："+action);
		System.out.println("请求拦截器");
		inv.invoke();
	}

}
